package com.open.capacity.user.service.impl;

import com.open.capacity.common.model.SysUser;
import com.open.capacity.user.dao.StudentDao;
import com.open.capacity.user.service.StudentService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;


/**
 * @author cheng
 * @date 2021-02-01 16:21
 */

@Slf4j
@Service
public class StudentServiceImpl implements StudentService {
    @Autowired
    private StudentDao studentDao;


    @Override
    public List<SysUser> findStudents(Map<String, Object> params) {
        return studentDao.findStudents(params);
    }

    @Override
    public int findStudentsCount(Map<String, Object> params) {
        return studentDao.findStudentsCount(params);
    }
}
